Readme file for the paper:

"Product Mix and Firm Productivity Responses to Trade Competition" by Thierry Mayer,
Marc J. Melitz and Gianmarco I.P. Ottaviano, Review of Economics and Statistics, 2020.


The archive contains a number of Stata do files necessary for replicating the results
in the above mentioned article. master.do is the main do file that lists
all steps needed, with corresponding intermediary do files.

The main source of the data is firm-level confidential data combining balance-sheet 
information with exports for each NC8 product to each destination in the world from 
1995 to 2005. Access is granted on the basis of
a proposed research project using a procedure described here:

http://www.cnis.fr/cms/Accueil/activites/_trois_comites/Comite_du_secret_statistique

Our precise project is hosted at CEPII (www.cepii.fr, a French government body
to which one of the co-authors is affiliated), where the confidential data is
stored and where do files (contained in MMO_Restat_progs.zip) can be run for
replication purposes.

Replication requires to send a request to the CEPII-affiliated co-author
(Thierry Mayer, thierry.mayer@sciencespo.fr) to choose one of the following
solutions: i) ask for the programme provided (or modifications of it) to be run
and output to be sent back to the researcher asking for it, ii) visit CEPII in
Paris (www.cepii.fr) to have those files run directly by the researcher on CEPII's
server. Note that the affiliation to CEPII of one co-author ensures that access
to replication data will cause no administrative problem of any kind. We
naturally commit to respond very quickly to requests.
